package com.dfrz.problem.model;

import java.util.Date;
import java.util.Set;

public class ProblemInfo {
	private Integer problemId;
	private String problemName;
	private Integer problemStatus; //0:解决,1:待分配,2:待测试,3:待解决
	private String problemDescription;
	private String problemSolve;// 问题解答
	private Date createTime;
	private String imgPath;
	private Set<Employee> employee;
	private ProjectInfo project;
	
	public ProblemInfo(){
		
	}
	
	public ProblemInfo(Integer problemId, String problemName,
			Integer problemStatus, String problemDescription,String problemSolve, String imgPath, 
			Date createTime, ProjectInfo project) {
		super();
		this.problemId = problemId;
		this.problemName = problemName;
		this.problemStatus = problemStatus;
		this.problemDescription = problemDescription;
		this.problemSolve = problemSolve;
		this.createTime = createTime;
		this.imgPath = imgPath;
		this.project = project;
	}

	public String getProblemSolve() {
		return problemSolve;
	}
	
	public void setProblemSolve(String problemSolve) {
		this.problemSolve = problemSolve;
	}
	
	public ProjectInfo getProject() {
		return project;
	}
	
	public void setProject(ProjectInfo project) {
		this.project = project;
	}
	
	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}
	public String getImgPath() {
		return imgPath;
	}
	public Integer getProblemId() {
		return problemId;
	}
	public void setProblemId(Integer problemId) {
		this.problemId = problemId;
	}
	public String getProblemName() {
		return problemName;
	}
	public void setProblemName(String problemName) {
		this.problemName = problemName;
	}
	public Integer getProblemStatus() {
		return problemStatus;
	}
	public void setProblemStatus(Integer problemStatus) {
		this.problemStatus = problemStatus;
	}
	public String getProblemDescription() {
		return problemDescription;
	}
	public void setProblemDescription(String problemDescription) {
		this.problemDescription = problemDescription;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Set<Employee> getEmployee() {
		return employee;
	}
	public void setEmployee(Set<Employee> employee) {
		this.employee = employee;
	}

	@Override
	public String toString() {
		return "ProblemInfo [problemId=" + problemId + ", problemName="
				+ problemName + ", problemStatus=" + problemStatus
				+ ", problemDescription=" + problemDescription
				+ ", createTime=" + createTime + ", imgPath=" + imgPath
				+ ", employee=" + employee + ", project=" + project + "]";
	}
}
